<%@page import="com.tubeonfire.model.admin.SiteConfigModel"%>
<%@page import="com.tubeonfire.entity.SiteConfig"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.util.Locale"%>
<%@page import="java.util.ResourceBundle"%>
<%	
	request.setCharacterEncoding("UTF-8");	
	SiteConfig siteConfig = SiteConfigModel.get();
	String logoUrl = siteConfig.getLogoKey();
	if (!logoUrl.equals("/images/logo.png")) {
		logoUrl = "http://" + request.getServerName() + "/image?key="
				+ logoUrl + "&size=250";
	}
	String siteName = siteConfig.getSiteName();
	String pageUrl = (String) request.getAttribute("url");
	String pageTitle = "New Application";
	String pageName = siteConfig.getSiteName();
	String pageDescription = siteConfig.getSiteDescription();
	String pageKeyword = siteConfig.getSiteKeyword();
	String pageImage = logoUrl;
	String facebookAdminId = siteConfig.getFacebookAdminId();
	String pageLogoUrl = logoUrl;
	String pageLogoSlogan = siteConfig.getLogoSlogan();
	String analyticCode = siteConfig.getAnalyticCode();
	int place = 8;
	int position = 1;
%>
<jsp:include page="/element/header.jsp">
	<jsp:param name="siteName" value="<%=siteName %>"/>
	<jsp:param name="pageUrl" value="<%=pageUrl %>" />
	<jsp:param name="pageTitle" value="<%=pageTitle %>" />
	<jsp:param name="pageName" value="<%=pageName %>" />
	<jsp:param name="pageImages" value="<%=pageImage %>" />
	<jsp:param name="pageKeyword" value="<%=pageKeyword %>" />
	<jsp:param name="pageDescription" value="<%=pageDescription %>" />
	<jsp:param name="facebookAdminId" value="<%=facebookAdminId %>" />
	<jsp:param name="pageLogoUrl" value="<%=pageLogoUrl %>" />
	<jsp:param name="pageLogoSlogan" value="<%=pageLogoSlogan %>" />
</jsp:include>

<div id="content">	
	<div id="content_inner">
    	<div id="aboutus-page">
                    <section>
                        <div class="block">
							<h3 class="button green" style="">Welcome to Tubeonfire</h3>
							<div class="video-listing clearafter">
                        		<div class="error-items">
                        			<div class="error-items_inner">
                        				<div style="padding-left: 156px; padding-top: 10px; padding-bottom: 10px">
                        					<img src="/images/new_app.png" alt="" height="240px">
                        				</div>	                        				
                        				<p style="text-align: center; font-weight: bold;">
                        					<span>Hey, it seems to be new application.</span>
                        					<br/>
                        					<span> If you are administrator, please visit <a href="/admin" style="color: #2981E4;">this page</a> to add some video.</span>                         					
                        				</p>                        				
                        			</div>	                        			
                        		</div>  
                        	</div>                          
                        </div>
                    </section>
                </div>                    
        <div class="clearbreak"></div>        
    </div>
</div>
<jsp:include page="/element/footer.jsp">
	<jsp:param name="analyticCode" value="<%= analyticCode %>" />
</jsp:include>